Preview - Coding Through Ecology - Bridges To Ct-Stem

Moving from NetTango to NetLogo


We will transfer the code that you generated in NetTango to the new NetLogo model. This will give us the basic functions that you worked on before but allow us to make more direct changes.

1. Set up a model similar to the one you completed in the earlier lesson using NetTango. 

2. Scroll down to the full code and copy the code into the "NetLogo Code" section. Take a look at the animated gif for help.

3. Click the "NetLogo Code" button in the second model and paste the code there.

4. Click the recompile button on model 2 

5. Click setup and go in model 2.

6. Answer questions below.

3. After you paste the code, go ahead and click on the "recompile code".

4. Click the setup button.


Questions

Please answer the questions below.

After you transferred the code to NetLogo and clicked setup and start, does the model look the same as version NetTango?

Identical
A little different
Very different

The wolves and sheep can be transformed into other shapes or organisms. Go to the set shape line and change the shape for a wolf to a star.  Find 5 other shapes that you can change the wolves or sheep into and list them below. Remember to always click on the "recompile code" button after making changes.


How can you change the number of wolves or sheep that start off the model? 


What else can you change in the model by changing the code?


Notes

These notes will appear on every page in this lesson so feel free to put anything here you'd like to keep track of.